package com.sykj.bsc.hyx.service.lmpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.bsc.hyx.bean.Bis_sms_record;
import com.sykj.bsc.hyx.mapper.Bis_sms_recordMapper;
import com.sykj.bsc.hyx.service.Bis_sms_recordService;

@Service
public class Bis_sms_recordServicelmpl implements Bis_sms_recordService{
	@Autowired
	public Bis_sms_recordMapper bis_sms_recordMapper;

	@Override
	public List<Bis_sms_record> selectBis_sms_record(Map map) {
		// TODO Auto-generated method stub
		return this.bis_sms_recordMapper.selectBis_sms_record(map);
	}

	@Override
	public int getCount(Map map) {
		// TODO Auto-generated method stub
		return this.bis_sms_recordMapper.getCount(map);
	}

	@Override
	public void saveRecord(Bis_sms_record record) {
	   this.bis_sms_recordMapper.saveRecord(record);
	}

	@Override
	public void delete(String ids) {
		String[] array=ids.split(",");
		for(String id:array){
			this.bis_sms_recordMapper.delete(Integer.valueOf(id));
		}
	}
}
